package net.zjitc.interfaces.charge;

import java.util.Scanner;

/**
 * @Author admin
 * @Date 2019/3/22 11:05
 */
public class Test {
    public static void main(String[] args) {
        System.out.println("1--公交车\n2-- 出租车");
        Scanner scanner=new Scanner(System.in);
        int s=scanner.nextInt();
        Charge charge=ChargeFactory.getCharge(s);
        charge.fee();
        Cinema cinema=new Cinema();
        cinema.fee();

    }
}
